import request from "@/utils/request"  //组件内部封装的axios
import { requestPath } from '../utils/global'

// 获取手机号验证码
export function getPhoneCodeAPI(params) {
	return  request({
        url: `${requestPath.component}/captcha/phone`,
        method: 'get',
        params
    })
}

// 用户服务协议
export function getUserServerAPI() {
	return  request({
        url: `${requestPath.componentFg}/dictionary/server`,
        method: 'get',
    })
}

// 用户隐私政策
export function getUserPrivacyAPI() {
	return  request({
        url: `${requestPath.componentFg}/dictionary/privacy`,
        method: 'get',
    })
}

// footList
export function getFootListAPI() {
    return request({
        url: `${requestPath.componentFg}/footer/list`,
        method: 'get',
    })
}

// 版权信息
export function getCopyRightAPI() {
    return request({
        url: `${requestPath.componentFg}/dictionary/footer`,
        method: 'get',
    })
}
